package com.tair.dao;

import java.util.ArrayList;

import com.tair.model.Note;

public abstract class NoteFactory {
	public String title;
	public String body;
	public int index;
	
	public void NoteFactory() {
		this.title = null;
		this.body = null;
		this.index = 0;
	}
	
	public  abstract Note LoadNote(int i);
	
	public abstract String getTitle(int i);
	public abstract String getBody(int i);
	public abstract int getIndex(int i);
	
	public abstract void setTitle(int i, String s);
	public abstract void setBody(int i, String s);
	public abstract void setIndex(int i, int i);
	
	public abstract void saveNote(Note note);
}
